<h1>New invitation</h1>

<% form_for(@invitation) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :recipient_email, "Friend's Email Address" %><br />
	<%= text_field_with_auto_complete :invitation, :recipient_email, {:size=>'50'}, {:tokens => ';', :method => :get} %>
  </p>

  <p>
    <%= f.submit 'Invite' %>
  </p>
<% end %>

<%= link_to 'Back', :controller=>'talks', :action=>'show', :id=>@talk.id %>